Synthetic indicators
In this lab we will learn how we can create synthetic indicators in order to combine metrics from a single object into a new KPI.
The example that we will cover in this lab shows how the Interface object type collects number of packet errors on the interface, however it does not show the percentage of packet errors compared with the total number of packets received on that interface, even though we are collecting that data. Therefore we will create a new synthetic indicator that calculates the percentage of errors received, compared with the total number of packets received.
Create Synthetic Indicator
Log into the NMS
Go to Administration -> Monitoring Configuration -> Object Types
Click on Interface
Click on Add Synthetic Indicator Type
a. Indicator Name: s1_InErrorsPercentage
b. Description: In Errors Percentage
c. Synthetic Indicator Expression: 100* ${ifInErrors}/ (${ifInErrors} + ${ifInDiscards} + useIfValid(${ifInBroadcastPkts},0) + useIfValid(${ifInMulticastPkts},0) + useIfValid(${ifInUcastPkts},0) + useIfValid(${ifHCInBroadcastPkts},0) + useIfValid(${ifHCInMulticastPkts},0) + useIfValid(${ifHCInUcastPkts},0) )
d. Maximum Value Expression: 100
e. Measure As: Percent
f. Display As: Percent
g. Click Save As New
Search for Pkts on the search box and enable 'Default Allowed' on:
a. ifHCInMulticastPkts
b. ifHCInUcastPkts
c. IfInBroadcastPkts
d. IfInMulticastPkts
Go to Devices -> Device Manager, find CHI-EDGE01 and click on the wrench icon to edit the device
Click on 'Edit Indicator Types to Monitor' at the bottom of the page
Enable the following indicators:
a. Hc In Multicast Pkts
b. HC In Unicast Pkts
c. In Broadcast Pkts
d. In Multicast Pkts
Click Save Changes
- Go back to Devices -> Device Manager, select CHI-EDGE01, click on the 'gear' icon -> Discovery Discover
Wait 5 - 10 minutes before reviewing
Review
Go to Devices -> Device Manager, find CHI-EDGE01 and click on the wrench icon to edit the device
Click on Object Manager
Search for Gigabit and click on GigabitEthernet1/1/0/0
- Scroll down a little bit to find the section 'In Statistics' where you will find the indicator In Errors Percentage with data